package com.example.windowdemo.callback;

import com.example.windowdemo.window.Window;
import com.example.windowdemo.window.strategy.StrategyWindow;

/**
 * @author: njb
 * @date: 2023/8/3 14:01
 * @desc:
 */
public interface WindowStrategy {
    void initView(StrategyWindow window);
    void setFullScreen(StrategyWindow window, boolean isFullScreen);
    void setTitleBar(StrategyWindow window, boolean hasTitleBar);
    void setSize(StrategyWindow window, int width, int height);
    void setPosition(StrategyWindow window, int x, int y);
    void setGravity(StrategyWindow window, int gravity);
}
